package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 好友请求实体
 * 表名 friend
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Aug 29 17:47:08 CST 2018
 */
@Setter
@Getter
public class FriendEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //请求人ID
    private Long fromUserId;
    //IMG-请求人头像
    private String fromUserAvatar;
    //请求人名字
    private String fromUserName;
    //请求人备注
    private String formUserRemark;
    //接收人ID
    private Long toUserId;
    //IMG-接收人头像
    private String toUserAvatar;
    //接收人名字
    private String toUserName;
    //接收人备注
    private String toUserRemark;
    //时间
    private Date createTime;
    //ENUM-状态:'未处理','通过'
    private Integer isFaild;
    //请求消息
    private String info;

    public FriendEntity(){

    }

    public FriendEntity(Long fromUserId, String fromUserAvatar, String fromUserName, Long toUserId, String toUserAvatar, String toUserName, Date createTime, Integer isFaild, String info) {
        this.fromUserId = fromUserId;
        this.fromUserAvatar = fromUserAvatar;
        this.fromUserName = fromUserName;
        this.toUserId = toUserId;
        this.toUserAvatar = toUserAvatar;
        this.toUserName = toUserName;
        this.createTime = createTime;
        this.isFaild = isFaild;
        this.info = info;
    }
}
